﻿using System;

namespace Microsoft.Biztalk.Adapters.Wcf.NullBinding
{
    class NullBindingProperties
    {
        public bool IsQueued { get; set; }
        public bool IsTransacted { get; set; }
        public bool LogMessages { get; set; }
        public string MessageBody { get; set; }
        public float MessagesPerSecond { get; set; }
        public int NumberOfThreads { get; set; }

        public NullBindingProperties Clone()
        {
            NullBindingProperties newProps = new NullBindingProperties();
            newProps.LogMessages = this.LogMessages;
            newProps.IsQueued = this.IsQueued;
            newProps.IsTransacted = this.IsTransacted;
            newProps.MessageBody = this.MessageBody;
            newProps.MessagesPerSecond = this.MessagesPerSecond;
            newProps.NumberOfThreads = this.NumberOfThreads;
            return newProps;
        }
    }
}
